package com.ryskoo.basicdata.area.street.service;

import com.ryskoo.basicdata.area.street.domain.StreetPO;
import com.ryskoo.basicdata.area.street.repository.IStreetRepository;
import com.ryskoo.framework.core.service.BasicServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * @author qyc
 */
@Service
public class StreetServiceImpl extends BasicServiceImpl<StreetPO> implements IStreetService {
    @Autowired
    private IStreetRepository streetRepository;

    @PostConstruct
    public void init() {
        this.setDao(streetRepository);
    }
}
